package com.auth.main.mvc.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @auther zhangwj
 * @date 2020/6/24 3:20 下午
 */
@RestController
@RequestMapping(value = "demo")
public class DemoController {

    @GetMapping(value = "get")
    public String getString(@RequestParam(value = "value") String value) {
        return "hello :" + value;
    }
}
